#ifndef CMATRIX_H
#define CMATRIX_H

#include "cvector3f.h"

class CMatrix
{
public:
    CMatrix(float a = 0.0, float b = 0.0, float c = 0.0, float d = 0.0, float e = 0.0, float f = 0.0, float g = 0.0, float h = 0.0, float i = 0.0);

    CMatrix(const CMatrix & M);

    float		at(unsigned ind);
    void		operator=(const CMatrix &M);
    CMatrix		operator*(const CMatrix &M);
    CVector3f	operator*(const CVector3f &V);
    CPoint3f	operator*(CPoint3f &P);

    float m_Mat[9];
};

#endif // CMATRIX_H
